package com.yangxd.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangxd
 * @since 2021-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Registration对象", description="")
public class Registration implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "挂号单ID")
    @TableId(value = "registration_id", type = IdType.AUTO)
    private Integer registrationId;

    @ApiModelProperty(value = "科室ID")
    private Integer departmentId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "医生ID")
    private Integer doctorId;

    @ApiModelProperty(value = "挂号日期")
    private String date;

    @ApiModelProperty(value = "科室名")
    private String departmentName;

    @ApiModelProperty(value = "医生名")
    private String doctorName;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "专家类型 0普通 1专家")
    private Integer type;

    @ApiModelProperty(value = "挂号费")
    private Integer fee;

    @ApiModelProperty(value = "预约状态 0正在预约中  1预约已通过  2已问诊")
    private Integer status;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "问诊地点")
    private String place;

}
